package com.letoken.platform.pub.enums;


public enum LetokenApiResponseEnum implements ApiResponseCode {

    // TODO 系统+服务+模块+自定 = 8+01+01+001
    // user模块 8+01+01+001
    ERROR_007(80000007, "", "参数缺失!"),
    ERROR_ADMIN_USER_001(80101001, "用户名不能为空", "用户名不能为空"),
    ERROR_ADMIN_USER_002(80101002, "密码不能為空", "密码不能為空"),
    ERROR_ADMIN_USER_003(80101003, "登入失敗，帳號不存在", "登入失敗，帳號不存在"),
    ERROR_ADMIN_USER_004(80101004, "密碼錯誤", "密碼錯誤"),
    ERROR_ADMIN_USER_005(80101005, "", "Account Login Information Verification Failure"),
    ERROR_ADMIN_USER_006(80101006, "用戶名已存在", "用戶名已存在"),
    ERROR_ADMIN_USER_007(80101007, "密码要8位或8位以上字符", "密码要8位或8位以上字符"),
    ERROR_ADMIN_USER_008(80101008, "用户ID列表不能为空", "用户ID列表不能为空"),
    ERROR_ADMIN_USER_009(80101009, "该账号已停用", "该账号已停用"),
    ERROR_ADMIN_USER_010(80101010, "adminUserId不能为空", "adminUserId不能为空"),
    ERROR_ADMIN_USER_011(80101011, "name不能为空", "name不能为空"),
    ERROR_ADMIN_USER_012(80101012, "adminRoleId不能为空", "adminRoleId不能为空"),
    ERROR_ADMIN_USER_013(80101013, "角色名稱已存在", "角色名稱已存在"),
    ERROR_ADMIN_USER_014(80101014, "客户端不能为空", "客户端不能为空"),
    ERROR_ADMIN_USER_015(80101015, "版本名称不能为空", "版本名称不能为空"),
    ERROR_ADMIN_USER_016(80101016, "版本号不能为空", "版本号不能为空"),
    ERROR_ADMIN_USER_017(80101017, "版本号格式错误", "版本号格式错误"),
    ERROR_ADMIN_USER_018(80101018, "版本信息不能为空", "版本信息不能为空"),
    ERROR_ADMIN_USER_019(80101019, "市场下载链接不能为空", "市场下载链接不能为空"),
    ERROR_ADMIN_USER_020(80101020, "市场下载链接格式错误", "市场下载链接格式错误"),
    ERROR_ADMIN_USER_021(80101021, "是否强制更新不能为空", "是否强制更新不能为空"),
    ERROR_ADMIN_USER_022(80101022, "版本号已存在", "版本号已存在"),
    ERROR_ADMIN_USER_023(80101023, "新版本必须大于最后版本", "新版本必须大于最后版本"),
    ERROR_ADMIN_USER_024(80101024, "客户端格式错误", "客户端格式错误"),
    ERROR_ADMIN_USER_025(80101025, "是否强制更新格式错误", "是否强制更新格式错误"),
    ERROR_ADMIN_USER_026(80101026, "新版本号不在可更新范围内 ", "新版本号不在可更新范围内"),
    ERROR_ADMIN_USER_027(80101027, "菜单名称已存在", "菜单名称已存在"),
    ERROR_ADMIN_USER_028(80101028, "职位名称已存在", "职位名称已存在"),
    ERROR_ADMIN_USER_029(80101029, "职位权限不能为空", "职位权限不能为空"),
    ERROR_ADMIN_USER_030(80101030, "修改失败，账号不存在", "修改失败，账号不存在"),
    ERROR_ADMIN_USER_031(80101031, "该角色不存在", "该角色不存在"),
    ERROR_ADMIN_USER_032(80101032, "版本更新重复！", "版本更新重复！"),
    ERROR_ADMIN_USER_033(80101033, "登录异常！", "登录异常！"),
    ERROR_ADMIN_USER_034(80101034, "uuid不能为空！", "uuid不能为空！"),
    ERROR_ADMIN_USER_035(80101035, "验证码不能为空！", "验证码不能为空！"),
    //app模块
    ERROR_ADMIN_APP_001(80105001, "该提现请求非链上提现！", "该提现请求非链上提现"),
    ERROR_ADMIN_APP_002(80105002, "提现金额大于用户冻结金额,提现审批失败！", "提现金额大于用户冻结金额,提现审批失败"),
    ERROR_ADMIN_APP_003(80105003, "该提现记录不存在！", "该提现记录不存在"),
    ERROR_ADMIN_APP_004(80105004, "该提现记录状态不为待审批！", "该提现记录状态不为待审批"),


    // config模块 8+01+03+001
    ERROR_ADMIN_CONFIG_001(80103001, "提现钱包比例只能输入1-99区间", "提现钱包比例只能输入1-99区间"),
    ERROR_ADMIN_CONFIG_002(80103002, "手续费钱包比例只能输入1-99区间", "手续费钱包比例只能输入1-99区间"),
    ERROR_ADMIN_CONFIG_003(80103003, "最小提现数量最小为0且只能输入整数", "最小提现数量最小为0且只能输入整数"),
    ERROR_ADMIN_CONFIG_004(80103004, "最大提现数量最小为0且只能输入整数", "最大提现数量最小为0且只能输入整数"),
    ERROR_ADMIN_CONFIG_005(80103005, "Gas费最小为0，且最多允许输入2位小数(0.11)", "Gas费最小为0，且最多允许输入2位小数(0.11)!"),
    ERROR_ADMIN_CONFIG_006(80103006, "提现钱包比例+手续费钱包比例须要等于100", "提现钱包比例+手续费钱包比例须要等于100!"),
    ERROR_ADMIN_CONFIG_007(80103007, "单价范围1.0-2.0且最多允许输入两位小数", "单价范围1.0-2.0且最多允许输入两位小数!"),
    ERROR_ADMIN_CONFIG_008(80103008, "公告父id和语言重复!", "公告父id和语言重复!"),
    ERROR_ADMIN_CONFIG_009(80103009, "该token已存在闪兑配置，请删除后再添加", "该token已存在闪兑配置，请删除后再添加"),
    ERROR_ADMIN_CONFIG_010(80103010, "网络标识或网络名称有重复!", "网络标识或网络名称有重复!"),
    ERROR_ADMIN_CONFIG_011(80103011, "网络节点名称有重复!", "网络节点名称有重复!"),

    // menu模块 8+01+04+001
    ERROR_ADMIN_MENU_001(80104001, "职位权限不能为空", "职位权限不能为空"),
    ERROR_ADMIN_MENU_002(80104002, "权限修改失败", "权限修改失败"),


    // app user模块 8+02+01+001
    ERROR_APP_USER_001(80201001, "用户名不能为空！", "username cannot be empty."),
    ERROR_APP_USER_002(80201002, "头像不能为空！", "headImage cannot be empty"),
    ERROR_APP_USER_003(80201003, "签名校验不通过！", "signature verification failed"),
    ERROR_APP_USER_004(80201004, "助记词创建失败！", "signature verification failed"),
    ERROR_APP_USER_005(80201005, "已填写邀请码，请勿重复提交！", "The invitation code has been filled in, please do not submit again"),
    ERROR_APP_USER_006(80201006, "无法获取token用户！", "Get token user failed"),
    ERROR_APP_USER_007(80201007, "无该邀请人，请更换邀请码！", "No such inviter, please change the invitation code!"),
    ERROR_APP_USER_008(80201008, "请勿绑定自己！", "Do not bind yourself!"),
    ERROR_APP_USER_009(80201009, "所属公链为空！", "The public chain is empty!"),
    ERROR_APP_USER_010(80201010, "设备类型不能为空！", "Device type cannot be empty!"),
    ERROR_APP_USER_011(80201011, "设备长度超过32！", "Equipment length exceeds 32!"),
    ERROR_APP_USER_012(80201012, "上传头像文件为空！", "Uploaded avatar file is empty!"),
    ERROR_APP_USER_013(80201013, "上传文件非图片类型！", "Uploaded avatar file is empty!"),
    ERROR_APP_USER_014(80201014, "邀请人不能绑定团队下级邀请码！", "The inviter cannot bind the team subordinate invitation code!"),
    ERROR_APP_USER_015(80201015, "绑定邀请码异常！", "Exception binding invitation code！"),
    ERROR_APP_USER_016(80201016, "用户名长度为1-15且不能包含空格！", "Exception binding invitation code！"),
    ERROR_APP_USER_017(80201017, "创建用户失败！", "Failed to create user!"),


    ERROR_APP_ORDER_001(80202001, "交易hash不能为空。", "Transaction hash cannot be empty"),
    ERROR_APP_ORDER_002(80202002, "bsc Api 请求失败。", "Bsc Api request failed"),
    ERROR_APP_ORDER_003(80202003, "交易hash查询为空。", "Transaction hash query is empty"),
    ERROR_APP_ORDER_004(80202004, "重复提交", "Repeated submission"),
    ERROR_APP_ORDER_005(80202005, "充值交易失败", "Recharge transaction failed"),
    ERROR_APP_ORDER_006(80202006, "充值交易不合法", "Illegal recharge transaction"),


    ERROR_APP_EXCHANGE_001(80203001, "闪兑代币类型异常。", "The type of flash token is abnormal."),
    ERROR_APP_EXCHANGE_002(80203002, "闪兑代币数量超过上限。", "The number of flash tokens exceeds the upper limit"),
    ERROR_APP_EXCHANGE_003(80203003, "缓存更新失败", "cache update failed。"),
    ERROR_APP_EXCHANGE_004(80203004, "代币已添加充值配置，请勿重复提交", "Token has been added to recharge configuration, please do not submit again"),
    ERROR_APP_EXCHANGE_005(80203005, "代币未充值配置", "Token not recharged configuration!"),
    ERROR_APP_EXCHANGE_006(80203006, "闪兑源代币为空！", "Flash source token is empty!"),
    ERROR_APP_EXCHANGE_007(80203007, "闪兑目标代币为空！", "Flash deposit target token is empty!"),
    ERROR_APP_EXCHANGE_008(80203008, "闪兑代币数量异常", "Abnormal number of flash tokens!"),
    ERROR_APP_EXCHANGE_009(80203009, "您闪兑代币可用余额不足", "The available balance of your flash token is insufficient!"),
    ERROR_APP_EXCHANGE_010(80203010, "闪兑代币最小数量20", "Minimum number of flash tokens 20!"),
    ERROR_APP_EXCHANGE_011(80203011, "代币已添加提现配置，请勿重复提交", "Token has been added to withdraw configuration, please do not submit again"),
    ERROR_APP_EXCHANGE_012(80203012, "修改配置时不能修改代币类型！", "Token type cannot be modified when modifying configuration!"),
    ERROR_APP_EXCHANGE_013(80203013, "闪兑异常！", "Abnormal flash deposit!"),
    ERROR_APP_EXCHANGE_014(80203014, "闪兑代币最大数量1000000！", "Maximum number of flash tokens 1000000！"),
    ERROR_APP_EXCHANGE_015(80203015, "只能闪兑整数！", "Only integer can be flashed！"),
    ERROR_APP_EXCHANGE_016(80203016, "闪兑代币只能是USDT！", "Flash token can only be USDT！"),



    ERROR_APP_MINT_001(80204001, "发行数量超过可操作量", "The issue quantity exceeds the operable quantity"),
    ERROR_APP_MINT_002(80204002, "发行数量不满足条件", "The issuing quantity does not meet the conditions"),
    ERROR_APP_MINT_003(80204003, "铸币数量低于最低发行数量", "The minted amount is lower than the minimum issued amount"),
    ERROR_APP_MINT_004(80204004, "铸币数量高于发行数量", "The minted quantity is higher than the issued quantity"),
    ERROR_APP_MINT_005(80204005, "铸币发行异常！", "The issuing quantity does not meet the conditions！"),
    ERROR_APP_MINT_006(80204006, "只能铸币整数！", "Only integer coins can be minted！"),

    // assets模块 8+02+05+001
    ERROR_APP_ASSETS_001(80205001, "代币不能为空", "error"),
    ERROR_APP_ASSETS_002(80205002, "网络异常，请稍后重试！", "Network exception, please try again later！"),

    // wallet模块 8+03+01+001
    ERROR_WALLET_TX_001(80301001, "Api 请求失败", "Api request failed"),
//    ERROR_WALLET_TX_002(80301002, "任务已执行，请勿重复执行", "Task processing"),
//    ERROR_WALLET_TX_003(80301003, "任务执行中，请勿重复执行", "Task done"),
//    ERROR_WALLET_TX_004(80301004, "交易Hash不存在", "txHash not exists on chain"),
//    ERROR_WALLET_TX_005(80301005, "交易Hash状态失败", "txHash status fail"),
    ERROR_WALLET_TX_006(80301006, "更新用户余额失败", "Update user balance fail"),
    ERROR_WALLET_TX_007(80301007, "更新用户资产历史失败", "Update user assets history record fail"),
    ERROR_WALLET_TX_008(80301008, "订单不存在", "Order not exists"),
//    ERROR_WALLET_TX_009(80301009, "更新订单失败", "Update order record fail"),
//    ERROR_WALLET_TX_010(80301010, "订单状态异常", "Invalid order status"),
//    ERROR_WALLET_TX_011(80301011, "订单未审批通过", "Order not approved"),
//    ERROR_WALLET_TX_012(80301012, "订单流水号为空", "Empty order sn"),
//    ERROR_WALLET_TX_013(80301013, "发送链上交易失败", "create txHash fail"),
//    ERROR_WALLET_TX_014(80301014, "查询交易Hash不存在", "query txHash not exists"),
//    ERROR_WALLET_TX_015(80301015, "查询钱包余额失败", "query balance fail"),
//    ERROR_WALLET_TX_016(80301016, "用户钱包余额未未达到归集金额", "Balance too low to collection"),
//    ERROR_WALLET_TX_017(80301017, "更新订单明细失败", "Update order detail record fail"),

//    ERROR_WALLET_RECHARGE_001(80302001, "平台暂不支持此代币充值", "Unsupported recharge token"),
//    ERROR_WALLET_RECHARGE_002(80302002, "收款地址非平台用户账户", "toAddress is not platform userAddress"),


    ERROR_WALLET_WITHDRAW_001(80303001, "钱包为空或冻结余额不足", "freezeBalance not enough"),
    ERROR_WALLET_WITHDRAW_002(80303002, "提现金额要大于0", "Invalid withdraw amount"),
    ERROR_WALLET_WITHDRAW_003(80303003, "不能给自己提现", "Cannot withdraw cash for oneself!"),
    ERROR_WALLET_WITHDRAW_004(80303004, "提现用户不存在", "Withdrawing user does not exist!"),
    ERROR_WALLET_WITHDRAW_005(80303005, "提现金额小于最小提现金额", "The withdrawal amount is less than the minimum withdrawal amount!"),

    ERROR_WALLET_WITHDRAW_006(80303006, "提现金额大于最大提现金额", "The withdrawal amount is greater than the maximum withdrawal amount!"),
    ERROR_WALLET_WITHDRAW_007(80303007, "提现金额大于您的可用余额", "The withdrawal amount is greater than your available balance!"),
    ERROR_WALLET_WITHDRAW_008(80303008, "提现异常！", "Abnormal withdrawal!"),
    ERROR_WALLET_WITHDRAW_009(80303009, "提现配置异常!", "Withdrawal configuration exception!"),
    ERROR_WALLET_WITHDRAW_010(80303010, "链上提现地址格式错误!", "The format of the online withdrawal address is incorrect!"),
    ERROR_WALLET_WITHDRAW_011(80303011, "提现目标账户钱包地址或者账户id不能为空!", "The wallet address or account ID of the withdrawal target account cannot be blank!"),
    ERROR_WALLET_WITHDRAW_012(80303012, "提现金额要大于0!", "Withdrawal amount should be greater than 0！"),
    ERROR_WALLET_WITHDRAW_013(80303013, "链上提现需大于1!", "The USDT of cash withdrawal on the chain must be greater than 1！"),
    ERROR_WALLET_WITHDRAW_014(80303014, "id格式错误!", "ID format error！"),
    ERROR_WALLET_WITHDRAW_015(80303015, "链上转账不能转到平台内!", "On chain transfer cannot be transferred to the platform！"),
    ERROR_WALLET_WITHDRAW_016(80303016, "只能提现整数!", "Only integer can be withdrawn！"),
    ERROR_WALLET_WITHDRAW_017(80303017, "~~提现异常，请联系客服!!!", "Abnormal withdrawal, please contact customer service!"),
    ERROR_WALLET_WITHDRAW_018(80303018, "请选择向Aladdin用户转账！", "Please select the item Aladdin user transfer!"),
    ERROR_WALLET_WITHDRAW_019(80303019, "用户ID/地址不正确！", "Incorrect user ID/address!"),
    ERROR_WALLET_WITHDRAW_020(80303020, "数量请输入6位小数！", "Please enter 6 decimal places for the quantity!"),

    ERROR_WALLET_WITHDRAW_021(80303021, "提现账户异常！", "Abnormal withdrawal account!"),


    ERROR_MALL_PAY_1(80303021, "付款失败，请稍后在试！", "Please enter 6 decimal places for the quantity!"),
    // mall 模块
    ERROR_MALL_SMS_001(80407001, "无效验证！", "Invalid validation!"),
    ERROR_MALL_SMS_002(80407002, "验证失败！", "Validation failed!"),
    ERROR_MALL_SMS_003(80407003, "无效验证码！", "Invalid verification code!"),

    ERROR_MALL_SMS_004(80407004, "验证码错误次数超出限制，请%s分钟后再试!", "The number of verification code errors exceeds the limit. Please try again in %s minutes!"),
    ERROR_MALL_SMS_005(80407005, "获取验证码次数过多，请稍后再试！", "Obtaining verification code too many times, please try again later!"),

    ERROR_MALL_SMS_006(80407006, "发送验证码失败！", "Failed to send verification code!"),

    ERROR_MALL_SMS_008(80407008, "一级分类不存在！", "First level classification does not exist!"),
    ERROR_MALL_SMS_009(80407009, "二级分类不存在！", "Secondary classification does not exist!"),
    ERROR_MALL_SMS_010(80407010, "商家信息不完整！", "Incomplete merchant information!"),

    ERROR_MALL_SMS_011(80407011, "店铺信息不存在！", "Store information does not exist!"),
    ERROR_MALL_SMS_012(80407012, "该店铺不属于当前登录用户！", "This store does not belong to the current logged in user!"),

    ERROR_MALL_SMS_013(80407013, "该状态不允许该操作！", "The operation is not allowed in this state!"),

    ERROR_MALL_SMS_014(80407014, "记录ID不能为空！", "Record ID cannot be empty!"),

    ERROR_MALL_SMS_015(80407015, "审核驳回需要填写原因！", ""),
    ERROR_MALL_SMS_016(80407016, "审核记录不能为空！", ""),

    ERROR_MALL_SMS_017(80407017, "该操作已经失效！", "This operation has expired!"),

    ERROR_MALL_SMS_018(80407018, "该用户已经申请过店铺！", "The user has already applied for a store!"),

    ERROR_MALL_SMS_019(80407019, "业务类型不存在！", "Business type does not exist!"),
    ERROR_MALL_SMS_020(80407020, "账号不能为空！", "Account cannot be empty!"),
    ERROR_MALL_SMS_021(80407021, "业务类型不能为空！", "Business type cannot be empty!"),

    ERROR_MALL_SMS_022(80407022, "请设置区间为%s%%-%s%%！", "Please set the interval to %s%%-%s%%!"),
    ERROR_MALL_SMS_023(80407023, "参数长度超出范围！", "The parameter length is out of range!"),

    ERROR_MALL_SMS_024(80407024, "请先进行消费发行！", "Please proceed with consumption distribution first!"),
    ERROR_MALL_SMS_025(80407025, "参数不符合规范！", "The parameters do not meet the specifications!"),
    ERROR_MALL_SMS_026(80407026, "请输入正确的提现金额！", "Please enter the correct withdrawal amount!"),
    ERROR_MALL_SMS_027(80407027, "可提现余额不足！", "Insufficient withdrawable balance!"),
    ERROR_MALL_SMS_028(80407028, "可消费余额不足！", "Insufficient consumable balance!"),
    ERROR_MALL_SMS_029(80407029, "收款方店铺信息不存在，请稍后在试！", "The recipient's store information does not exist. Please try again later!"),

    ERROR_MALL_SMS_030(80407030, "该店铺未设置返利值，不能进行支付！", "The store has not set a rebate value, payment cannot be made!"),

    ERROR_MALL_SMS_031(80407031, "商家不能在自己店铺消费！","Merchants cannot consume in their own store!"),

    ERROR_MALL_SMS_032(80407032, "店铺名不合规!", "The store name does not comply!"),
    ERROR_MALL_SMS_033(80407033, "店铺地址不合规!", "The store address is not compliant!"),
    ERROR_MALL_SMS_034(80407034, "关键字不合规!", "Keyword not compliant!"),
    ERROR_MALL_SMS_035(80407035, "行业标签不合规!", "Industry label non-compliance!"),
    ERROR_MALL_SMS_036(80407036, "入驻人姓名不合规!", "The name of the resident is not compliant!"),
    ERROR_MALL_SMS_037(80407037, "身份证号码不合规!", "The ID card number is not in conformity!"),
    ERROR_MALL_SMS_038(80407038, "统一社会信用代码不合规!", "The unified social credit code is not compliant!"),

    ERROR_MALL_SMS_039(80407039, "该商户下架！", "The merchant is offline!"),
    ERROR_MALL_SMS_040(80407040, "暂无消费发行可加速,请发行后重试！", "There is currently no consumption release available for acceleration. Please try again after release!"),
    ERROR_MALL_SMS_041(80407041, "请先进行消费发行！", "Please issue first!"),
    ERROR_MALL_SMS_042(80407042, "已经存在待审核的修改记录，请等待管理员处理！", "There is already a modification record waiting for approval. Please wait for the administrator to process it!"),

    ERROR_MALL_SMS_043(80407043, "让利值不在支持范围内，请修改！", "The yield value is not within the supported range, please modify it!"),

    ERROR_MALL_SMS_044(80407044, "商城等级初始配置不存在！", "The initial configuration of the mall level does not exist!"),

    ERROR_MALL_SMS_045(80407045, "已经收藏，请勿重复操作！", "Already collected, please do not repeat the operation!"),
    ERROR_MALL_SMS_046(80407046, "已经评价，请勿重复操作！", "Reviewed, please do not repeat the operation!"),

    ERROR_MALL_SMS_047(80407047, "评价不存在！", "Reviewed, please do not repeat the operation!"),

    ERROR_MALL_SMS_048(80407048, "评价只能修改一次！", "The evaluation can only be modified once!"),

    ERROR_MALL_SMS_049(80407049, "服务标签最多5个！", "Up to 5 service tags!"),
    ERROR_MALL_SMS_050(80407050, "每个服务标签最多6个字符！", "Each service tag can have a maximum of 6 characters!"),
    ERROR_MALL_MATCHMAKING_01(80408001,"商家不存在！","Merchant does not exist!"),

    ERROR_MALL_SMS_051(80407051, "账户记录不存在！", "Account record does not exist!"),

    ERROR_MALL_SMS_052(80407052, "余额不足！", "Insufficient balance!"),

    ERROR_MALL_SMS_053(80407053, "账户资产异常！", "Account asset abnormality!"),

    ERROR_MALL_SMS_054(80407054, "转账金额不得小于一个USDT！", "The transfer amount must not be less than one USDT!"),
    ERROR_MALL_SMS_055(80407055, "质押矿机失败！", "Failed to purchase fund!"),
    ERROR_MALL_SMS_056(80407056, "该矿机状态不能进行赎回！", "The fund status cannot be redeemed!"),
    ERROR_MALL_SMS_057(80407057, "该矿机质押金额不能低于该类型矿机最低质押量！", "The issuance amount of this fund cannot be lower than the minimum issuance amount of this type of fund"),

    ERROR_MALL_SMS_058(80407058, "不支持的币种！", "Unsupported currency!"),
    ERROR_MALL_SMS_059(80407059, "存在售后订单！", "Store information does not exist!"),



    ERROR_SHOP_RESPONSE_001(80500001, "售后订单不存在！", "The after-sales order does not exist!"),
    ERROR_SHOP_RESPONSE_002(80500002, "ID不能为空！", "The after-sales order does not exist!"),

    ERROR_SHOP_RESPONSE_003(80500003, "收货人名称不能为空！", "recipient name cannot be empty!"),
    ERROR_SHOP_RESPONSE_004(80500004, "收货人电话不能为空！", "recipient phone number cannot be empty!"),
    ERROR_SHOP_RESPONSE_005(80500005, "收货人省份不能为空！", "recipient province cannot be empty!"),

    ERROR_SHOP_RESPONSE_006(80500006, "收货人城市不能为空！", "recipient city cannot be empty!"),
    ERROR_SHOP_RESPONSE_007(80500007, "收货人地址不能为空！", "recipient address cannot be empty!"),
    ERROR_SHOP_RESPONSE_008(80500008, "审核结果不能为空！", "approval result cannot be empty!"),
    ERROR_SHOP_RESPONSE_009(80500009, "修改价格不能为空！", "modify price cannot be empty!"),
    ERROR_SHOP_RESPONSE_010(80500010, "物流公司不能为空！", "logistics company cannot be empty!"),
    ERROR_SHOP_RESPONSE_011(80500011, "物流单号不能为空！", "logistics tracking number cannot be empty!"),

    ERROR_SHOP_RESPONSE_012(80500012, "商品标题不能为空！",    "product title cannot be empty!"),
    ERROR_SHOP_RESPONSE_013(80500013, "商品副标题不能为空！",  "product subtitle cannot be empty!"),
    ERROR_SHOP_RESPONSE_014(80500014, "商品类别不能为空！",    "product category cannot be empty!"),
    ERROR_SHOP_RESPONSE_015(80500015, "商品图片不能为空！",    "product image cannot be empty!"),
    ERROR_SHOP_RESPONSE_016(80500016, "商品运费模板不能为空！", "product shipping template cannot be empty!"),
    ERROR_SHOP_RESPONSE_017(80500017, "商品详情图片不能为空！", "product details image cannot be empty!"),
    ERROR_SHOP_RESPONSE_018(80500018, "商品规格不能为空！",     "product specification cannot be empty!"),

    ERROR_SHOP_RESPONSE_019(80500019, "上架状态不能为空！",     "listing status cannot be empty!"),
    ERROR_SHOP_RESPONSE_020(80500020, "售后类型不能为空！",     "after-sales type cannot be empty!"),
    ERROR_SHOP_RESPONSE_021(80500021, "物流状态不能为空！",     "logistics status cannot be empty!"),
    ERROR_SHOP_RESPONSE_022(80500022, "申请原因不能为空！",     "application reason cannot be empty!"),
    ERROR_SHOP_RESPONSE_023(80500023, "订单不存在！", "order does not exist!"),
    ERROR_SHOP_RESPONSE_024(80500024, "已经存在售后订单！", "after-sales order already exists!"),

    ERROR_SHOP_RESPONSE_025(80500025, "请选择商品！", "please select a product!"),
    ERROR_SHOP_RESPONSE_026(80500026, "请选择购买数量！", "please select the purchase quantity!"),
    ERROR_SHOP_RESPONSE_027(80500027, "请选择商品规格！", "please select product specification!"),
    ERROR_SHOP_RESPONSE_028(80500028, "请选择地址！", "please select an address!"),
    ERROR_SHOP_RESPONSE_029(80500029, "备注超出长度限制！", "comment exceeds length limit!"),

    ERROR_SHOP_RESPONSE_030(80500030, "商品不存在！", "product does not exist!"),
    ERROR_SHOP_RESPONSE_031(80500031, "规格不存在！", "specification does not exist!"),

    ERROR_SHOP_RESPONSE_032(80500032, "售后类型错误！", "after-sales type error!"),

    ERROR_SHOP_RESPONSE_033(80500033, "库存不足！", "after-sales type error!"),


    ERROR_SHOP_RESPONSE_034(80500034, "请缴纳保证金！", "Please pay the deposit!"),

    ERROR_SHOP_RESPONSE_035(80500035, "保证金计算异常！", "Abnormal margin calculation!"),

    ERROR_SHOP_RESPONSE_036(80500036, "该订单已付款，请勿重复操作！", "The order has been paid, please do not repeat the operation!"),

    ERROR_SHOP_RESPONSE_037(80500037, "当前存在进行中的售后申请！", "There are currently ongoing after-sales applications!"),

    ERROR_SHOP_RESPONSE_038(80500038, "超出最大可退款金额！", "Exceeded the maximum refundable amount!"),

    ERROR_SHOP_RESPONSE_039(80500039, "金额超出范围！", "amount exceeds the range!"),

    ERROR_SHOP_RESPONSE_040(80500040, "金额超出范围！", "amount exceeds the range!"),

    ERROR_SHOP_RESPONSE_041(80500041, "不能购买自己店铺商品！", "cannot purchase products from your own store!"),

    ERROR_SHOP_RESPONSE_042(80500042, "账号已禁用！", "account disabled!"),
    ERROR_SHOP_RESPONSE_043(80500043, "还未设置店铺运费规则！", "store shipping rules have not been set yet!"),
    ERROR_SHOP_RESPONSE_044(80500044, "运费模板不可用！", "shipping template not available!"),

    ERROR_SHOP_RESPONSE_045(80500045, "不满足退店条件！", "does not meet the conditions for returning the store!"),

    ERROR_SHOP_RESPONSE_046(80500046, "退店审核中！", ""),
    ERROR_SHOP_RESPONSE_047(80500047, "已退店！", ""),


    ERROR_SHOP_RESPONSE_048(80500048, "今日红包数量已达上限！", ""),
    ERROR_SHOP_RESPONSE_049(80500049, "红包已领完！", ""),
    ERROR_SHOP_RESPONSE_050(80500050, "红包已过期！", ""),
    ERROR_SHOP_RESPONSE_051(80500051, "红包个数超过群聊！", ""),
    ERROR_SHOP_RESPONSE_052(80500052, "不能自己领取自己的普通红包！", ""),
    ERROR_SHOP_RESPONSE_053(80500053, "红包金额太小，不满足发红包条件！", ""),
    ERROR_SHOP_RESPONSE_054(80500054, "普通红包只能发一个！", ""),
    ERROR_SHOP_RESPONSE_055(80500055, "红包金额过大！", ""),
    ERROR_SHOP_RESPONSE_056(80500056, "配置异常！", ""),
    ERROR_SHOP_RESPONSE_057(80500057, "该视频当天已观看过！", ""),
    ERROR_SHOP_RESPONSE_058(80500058, "该账号获取视频红包已达上限！", ""),
    ERROR_SHOP_RESPONSE_059(80500059, "该红包不存在！", ""),
    ERROR_SHOP_RESPONSE_060(80500060, "该红包已被领取！", ""),
    ERROR_SHOP_RESPONSE_061(80500061, "该设备今日账户数量已达上限！", ""),
    ERROR_SHOP_RESPONSE_062(80500062, "服务器异常！", ""),
    ERROR_SHOP_RESPONSE_063(80500063, "该账户已绑定其他设备，请在绑定设备领取！", ""),
    ERROR_SHOP_RESPONSE_064(80500064, "需质押后才可领取", ""),
    ERROR_SHOP_RESPONSE_065(80500065, "完成所有红包任务才可领取！", ""),
    ERROR_SHOP_RESPONSE_066(80500066, "今日已领取！", ""),
    ERROR_SHOP_RESPONSE_067(80500067, "Token配置异常！", ""),
    ERROR_SHOP_RESPONSE_068(80500068, "红包生成失败！", ""),
    ERROR_SHOP_RESPONSE_069(80500069, "红包生成失败，两次观看视频时间过短！", ""),
    ERROR_SHOP_RESPONSE_070(80500070, "视频不存在或已下架！", ""),


    ERROR_SHOP_RESPONSE_8060001(8060001, "文件类型错误!", ""),
    ERROR_SHOP_RESPONSE_8060002(8060002, "未检测到文件或文件超过限制!", ""),
    ERROR_SHOP_RESPONSE_8060003(8060002, "已退店！", ""),
    ERROR_SHOP_RESPONSE_8060004(8060004, "已退店！", ""),
    ;

    private int code;
    private String msg;
    private String desc;

    LetokenApiResponseEnum(int code, String msg, String desc) {
        this.msg = msg;
        this.code = code;
        this.desc = desc;
    }


    @Override
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static com.letoken.platform.pub.enums.LetokenApiResponseEnum getResponseCode(int code) {
        for (com.letoken.platform.pub.enums.LetokenApiResponseEnum apiResponseCode : values()) {
            if (apiResponseCode.getCode() == code) {
                return apiResponseCode;
            }
        }
        return null;
    }
}
